package cho.core;

import java.util.List;

public class Formatter {
	
	private static String[] selectWords = new String[]{"SELECT", "FROM", "WHERE", "AND", "GROUP BY", "HAVING", "ORDER BY"};
	
	public void run(){
		List<String> sqlList = SqlExtract.read();
		
		System.out.println(sqlList);
		
		selectColumnFormatter(sqlList);
		fromFormatter(sqlList);
		whereFormatter(sqlList);
		andFormatter(sqlList);
		groupByFormatter(sqlList);
		havingFormatter(sqlList);
		orderByFormatter(sqlList);
	}
	
	public void selectColumnFormatter(List<String> sqlList){
		for (String sqlText : sqlList) {
			
		}
	}
	
	public void fromFormatter(List<String> sqlList){
		
	}
	
	public void whereFormatter(List<String> sqlList){
		
	}
	
	public void andFormatter(List<String> sqlList){
		
	}
	
	public void groupByFormatter(List<String> sqlList){
		
	}
	
	public void havingFormatter(List<String> sqlList){
		
	}
	
	public void orderByFormatter(List<String> sqlList){
		
	}
	
	
	
	public static void main(String[] args) {
		Formatter f = new Formatter();
		f.run();
	}
}
